package com.mvp.shq.washer.ui.withdraw;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.BasicInfo;
import com.mvp.shq.washer.entity.result.BaseResult;

import java.math.BigDecimal;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/9/5.
 */

public interface WithDrawConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> withDraw(String token, String userId, BigDecimal money,String realName,String account,String sign);
    }
    interface View extends BaseView{
        void withDrawS();
        void withDrawF(String msg);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void withDraw(BigDecimal money,String realName,String account);
    }
}
